package com.kx.center.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kx.center.common.JsonDateSerializer;

/**
 * @description 消息发送表
 * @version 1.0
 * @author Scott 
 * @date 2016年1月6日 下午4:14:40
 */
@JsonIgnoreProperties ({
	"appAccountId","appAccountUserId","type","content"
})
public class MsgSend {

	private int id;
	private int noticeMsgId;
	private String title;
	private String discribe;
	private String content ;
	private int appAccountId;
	private String appAccountUserId;
	private Date createTime;
	private Date updateTime;
	private int status;
	private String type;
	
	//订单状态、订单id
	private Integer orderId = -1;
	private Integer orderStatus =-1;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getNoticeMsgId() {
		return noticeMsgId;
	}
	public void setNoticeMsgId(int noticeMsgId) {
		this.noticeMsgId = noticeMsgId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDiscribe() {
		return discribe;
	}
	public void setDiscribe(String discribe) {
		this.discribe = discribe;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getAppAccountId() {
		return appAccountId;
	}
	public void setAppAccountId(int appAccountId) {
		this.appAccountId = appAccountId;
	}
	public String getAppAccountUserId() {
		return appAccountUserId;
	}
	public void setAppAccountUserId(String appAccountUserId) {
		this.appAccountUserId = appAccountUserId;
	}
	@JsonSerialize(using = JsonDateSerializer.class)
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@JsonSerialize(using = JsonDateSerializer.class)
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	public Integer getOrderId() {
		return orderId;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	public Integer getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	@Override
	public String toString() {
		return "MsgSend [id=" + id + ", noticeMsgId=" + noticeMsgId
				+ ", title=" + title + ", discribe=" + discribe + ", content="
				+ content + ", appAccountId=" + appAccountId
				+ ", appAccountUserId=" + appAccountUserId + ", createTime="
				+ createTime + ", updateTime=" + updateTime + ", status="
				+ status + ", type=" + type + ", orderId=" + orderId
				+ ", orderStatus=" + orderStatus + "]";
	}

}
